#pragma once
#include <qobject.h>
#include <qthread.h>
#include "qtcpsocket.h"
#include "qdebug.h"
#include "TcpServer.h"

class myThread :
	public QThread
{
	Q_OBJECT
public:
	myThread(QTcpSocket *socket);
	~myThread();
	void run();
signals:
	void sendToWidget(QString str);
public slots:
	void clientInfoSlot();
private:
	QTcpSocket *socket;
	QString strMsg;
};
